package cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.*;

/**
 * 水果卡 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class FruitCardUserBaseVO {

    @Schema(description = "member id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "member id不能为空")
    private Long userId;

    @Schema(description = "fruit_card_detail id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "fruit_card_detail id不能为空")
    private Long detailId;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "手机号不能为空")
    private String phone;


    private Long cardId;

    private Boolean status;
}
